//
//  UIImage+resizedImage.m
//  My_WeiBo
//
//  Created by Jay_Apple on 15/5/6.
//  Copyright (c) 2015年 Jay_Apple. All rights reserved.
//

#import "UIImage+resizedImage.h"

@implementation UIImage (resizedImage)

+(UIImage *)resizedImage:(NSString *)imageName{
    
    UIImage * resizedimage = [UIImage imageNamed:imageName];
    
    resizedimage = [resizedimage stretchableImageWithLeftCapWidth:resizedimage.size.width *0.5 topCapHeight:resizedimage.size.height*0.5];
    
    return resizedimage;

}
@end
